<template>
  <div>
    <a-button @click="pnt(formState)">点我{{ formState }}</a-button>
    <param-page1 :name="'asdf'" :age="123123"></param-page1>
    <a-button @click="ds.length = 0">{{ ds.length }}</a-button>
    <div v-for="d in ds" :key="d.id">
      {{ d }}
    </div>
  </div>
</template>

<script setup lang="ts">
import ParamPage1 from "./components/ParamPage1.vue";

const msg = "param";
const formState = ref({
  name: "",
  age: "",
});
const pnt = (p: any) => {
  console.log((p.name = 123));
  console.log((p.age = "haha"));
};
const ds = ref<any[]>([1, 2, 3]);
</script>

<style scoped></style>
